import zidian from "./Zidian";

export function getPath(key: any) {
    return zidian.find((item: any) => item.key == key).roter;
}

export function getName(key: any) {
    return zidian.find((item: any) => item.key == key).text;
}